package com.ytjj.qmyx.admin.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class OrderDisparitiesRefund implements Serializable {
    /**
     * 主键
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 订单编号
     *
     * @mbg.generated
     */
    private String orderNo;

    /**
     * 子订单生成规则：对外
     *
     * @mbg.generated
     */
    private String childOrderNo;

    /**
     * 支付订单号
     *
     * @mbg.generated
     */
    private String tradeNo;

    /**
     * 支付金额
     *
     * @mbg.generated
     */
    private BigDecimal amount;

    /**
     * 状态 1 退款中 2 成功 3失败
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 备注
     *
     * @mbg.generated
     */
    private String remark;

    /**
     * 操作人id
     *
     * @mbg.generated
     */
    private Integer adminId;

    /**
     * 操作人名称
     *
     * @mbg.generated
     */
    private String adminName;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 承担方 1-仓库承担2-平台承担
     */
    private Integer undertakeParty;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getChildOrderNo() {
        return childOrderNo;
    }

    public void setChildOrderNo(String childOrderNo) {
        this.childOrderNo = childOrderNo;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUndertakeParty() {
        return undertakeParty;
    }

    public void setUndertakeParty(Integer undertakeParty) {
        this.undertakeParty = undertakeParty;
    }


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderNo=").append(orderNo);
        sb.append(", childOrderNo=").append(childOrderNo);
        sb.append(", tradeNo=").append(tradeNo);
        sb.append(", amount=").append(amount);
        sb.append(", status=").append(status);
        sb.append(", remark=").append(remark);
        sb.append(", adminId=").append(adminId);
        sb.append(", adminName=").append(adminName);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}